package DesignPatterns.SimpleFactory;

// 狗工厂
public class DogFactory implements Factory<Dog>{
    @Override
    public Dog getInstance() {
        return new Dog();
    }
}